package com.spring.service.blog;

import java.util.List;

import com.spring.web.formbean.blog.BlogForm;
import com.spring.bean.blog.Blog;
import com.spring.bean.page.Page;
import com.spring.bean.page.PageView;
import com.spring.exception.ServiceException;

public interface BlogService {

	public boolean insert(BlogForm blogForm) throws ServiceException;

	public boolean update(BlogForm blogForm) throws ServiceException;

	public boolean delete(Integer id) throws ServiceException;

	public Blog getById(Integer id) throws ServiceException;

	public List<Blog> queryForList() throws ServiceException;

	public PageView<Blog> queryForPage(Page page) throws ServiceException;
}